package com.xiezc.common.result;

import lombok.Data;

@Data
public class PojoResult<T> extends BaseResult {

    private T content;

    public static <T> PojoResult<T> success(T content) {

        PojoResult<T> pojoResult = new PojoResult<>();
        pojoResult.setContent(content);
        return pojoResult;
    }

}
